#include <iostream.h>
#include <conio.h>
#include <stdlib.h>
void main()
{
	int a[50], n, i;
	randomize();
	cout<<"numarul de elemente n=";cin>>n;
	for (i=0;i<n;i++) a[i]=random(101);
	cout<<"sirul este (";
	for (i=0;i<n;i++)cout<<a[i]<<",";
	cout<<"\b)"<<endl;
	getch();
}
